package com.qf.cloud2204.sleuth.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@FeignClient("MICROA")  // 声明该feignclient要调用的微服务的名字
public interface MicroAClient {

    // 注意：记得把通用路径补上
    @RequestMapping(value = "/a/hello",method = RequestMethod.GET)
    public String hello();


}
